package cn.edu.tust.bean;

import java.util.Date;

/**
 * 用于描述用户信息的类
 * @author Administrator 在使用dbutils的框架中要求：实体类的属性名和数据库的字段名要一一对应；
 *         （可以不区分大小写；但是一般按照规范要求：实体类的属性名的首字母小写【建议前两个字母都小写】）
 */
public class UserInfoBean {
	// 定义类的属性
	
	private Integer userId;
	private String userName;
	private String userPsw;
	private String userRealName;
	private String userEmail;
	private Date userRegisterDate;
	private Integer isDelete;
	
	// 定义类的行为方法（自动生成，不要手写！！！）
	// 给私有属性生成getter/setter方法
	// 当前类--右键--source--generate---getter/setter方法
	public Integer getUserId() {
		return userId;
	}
	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getUserPsw() {
		return userPsw;
	}
	public void setUserPsw(String userPsw) {
		this.userPsw = userPsw;
	}
	public String getUserRealName() {
		return userRealName;
	}
	public void setUserRealName(String userRealName) {
		this.userRealName = userRealName;
	}
	public String getUserEmail() {
		return userEmail;
	}
	public void setUserEmail(String userEmail) {
		this.userEmail = userEmail;
	}
	public Date getUserRegisterDate() {
		return userRegisterDate;
	}
	public void setUserRegisterDate(Date userRegisterDate) {
		this.userRegisterDate = userRegisterDate;
	}
	public Integer getIsDelete() {
		return isDelete;
	}
	public void setIsDelete(Integer isDelete) {
		this.isDelete = isDelete;
	}
	
	// 为了调试方法，重写toString方法（右键--source--generate toString）
	@Override
	public String toString() {
		return "UserInfoBean [userId=" + userId + ", userName=" + userName + ", userPsw=" + userPsw + ", userRealName="
				+ userRealName + ", userEmail=" + userEmail + ", userRegisterDate=" + userRegisterDate + ", isDelete="
				+ isDelete + "]";
	}
	
	

}
